import request from '@/utils/request'

export default{

    //统计某天
    registerCount (day){
        return request({
            //路径:添加参数的两种方法
            url:`/edustatistics/statistics-daily/registerCount/${day}`,
            method: 'post'
        })
    },
    //统计某天
    showDate (searchObj){
        return request({
            //路径:添加参数的两种方法
            url:`/edustatistics/statistics-daily/showDate/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: 'get'
        })
    },
}